e74f30d8085e85b480481948f5bb18cac4b3e5e0,src/main/java/org/basex/query/func/FNUtil.java,FNUtil,toBase,#QueryContext#InputInfo#,197

Before Change


  private Str toBase(final QueryContext ctx, final InputInfo ii)
      throws QueryException {

      final long num = checkItr(expr[0].item(ctx, input)),
                 base = checkItr(expr[1].item(ctx, input));
      if(base < 2 || base > 36) INVBASE.thrw(ii, base);

After Change


  private Str toBase(final QueryContext ctx, final InputInfo ii)
      throws QueryException {

    final long num = checkItr(expr[0], ctx),
               base = checkItr(expr[1], ctx);
    if(base < 2 || base > 36) INVBASE.thrw(ii, base);